home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / numbak.zip / NUMBAK.DOC < prev    next >
Text File  |  1993-01-03  |  728b  |  28 lines

  1. NUMBAK is a little .com file I wrote to number .BAK files.
  2.  
  3. It scans the directory for the highest numbered backup (filename.nnn)
  4. and adds one to it, and renames the .bak file.
  5.  
  6. Thus, if you have a file you're working on, "FOO.C", and have edited it,
  7. you have FOO.C and FOO.BAK in your directory.
  8.  
  9.     You type: numbak *
  10. and get:
  11.     Numbak by Ward Christensen, 7/27/92
  12.     <FOO.BAK> renamed to <FOO.001>.
  13.  
  14. If you then edit it again, so you have:
  15.     foo.c
  16.     foo.001
  17.     foo.bak
  18.  
  19.     You type: numbak *
  20. and get:
  21.     Numbak by Ward Christensen, 7/27/92
  22.     <FOO.BAK> renamed to <FOO.002>.
  23.  
  24. etc.
  25.  
  26. You can always erase older files, but it is recommended that you keep
  27. the highest numbered backup so that the numbers continue on.
  28.